.records-page {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #FFCE00 0%, #FFE200 17.84%, #DCF0D5 40.15%);
  .top {
    width: 100vw;
    background-color: #fff;
    .nav {
      width: 100vw;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      padding-top: 100rpx;
      position: relative;
      image {
        width: 45rpx;
        height: 45rpx;
        position: absolute;
        top: 100rpx;
        left: 32rpx;
      }
    }
    .tab {
      margin-top: 15rpx;
      display: flex;
      flex-direction: row;
      justify-content: space-around;
      text {
        font-size: 30rpx;
        font-family:sans-serif;
        color:darkgray;
      }
      .on {
        color: #000;
      }
      .line {
        border-bottom: 4px solid rgb(127, 243, 32);
        margin-top: 15rpx;
        border-radius: 4rpx;
      }
    }
  }

  .records-box {
    width: 100vw;
    flex: 1;
    box-sizing: border-box;
    overflow-y: scroll;
    padding: 0 20rpx;
    padding-top: 30rpx;
    padding-bottom: 50rpx;
    .record-item {
      width: calc(100vw - 40rpx);
      height: 120rpx;
      box-sizing: border-box;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      background-color: #fff;
      border-radius: 20rpx;
      padding: 0 20rpx;
      margin-bottom: 15rpx;
      .left {
        display: flex;
        flex-direction: column;
        text {
          font-size: 25rpx;
        }
        text:nth-of-type(2) {
          margin-top: 8rpx;
          font-size: 20rpx;
          color: darkgrey;
        }
      }
      .right {
        font-size: 30rpx;
        color: #000;
      }
    }
  }
}